home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6100 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: EU.net!sun4nl!xs4all!falstaff
  2. From: falstaff@xs4all.nl (Falstaff)
  3. Newsgroups: comp.lang.c,comp.sys.amiga.programmer
  4. Subject: Re: pointer conversion error
  5. Date: 24 Mar 1996 10:55:29 GMT
  6. Organization: XS4ALL, networking for the masses
  7. Message-ID: <4j39n1$mh4@news.xs4all.nl>
  8. References: <381.6657T11T967@mistral.co.uk>
  9. NNTP-Posting-Host: xs1.xs4all.nl
  10. X-Newsreader: NN version 6.5.0 #666 (NOV)
  11.  
  12. ghira@mistral.co.uk (Adam Atkinson) writes:
  13.  
  14. >my c compiler (SAS/C version 6.56) creates a warning about the following:
  15.  
  16. >                        printf("%u %u %u \n", i, l, h);
  17.  
  18. >three.c 36 Warning 104: conversion from pointer to const/volatile to pointer to non-const/volatile
  19.  
  20. >What am I doing wrong? i,l and h are unsigned longs.
  21.  
  22. Seems like the printf() prototype is missing.  #include <stdio.h>
  23.  
  24. Frank
  25. --
  26. The famous GIICM now on line:  http://www.xs4all.nl/~falstaff/GIICM.html
  27. ------------------------------------------------------------------------
  28. Frank A. Vorstenbosch        +31-(70)-355 5241        falstaff@xs4all.nl
  29.